#ifndef __bsp_uart_h__
#define __bsp_uart_h__
#include "main.h"


#define UART_MISO    22
#define UART_MOSI    19
#define UART_SCLK    21

#if 1
#define bsp_uart_debug(format, ...) my_debug("[bsp uart]- ",format,##__VA_ARGS__);
#else
#define bsp_uart_debug(format, ...) ;
#endif

#define RX_BUF_SIZE     100
#define RX_MODE         0


uint8_t bsp_uart_init(void);

#endif




